// vite.es.config.ts
import { defineConfig } from "file:///E:/react-project-framework-master/hs-component/node_modules/vite/dist/node/index.js";
import react from "file:///E:/react-project-framework-master/hs-component/node_modules/@vitejs/plugin-react/dist/index.mjs";
import { resolve } from "path";
import dts from "file:///E:/react-project-framework-master/hs-component/node_modules/vite-plugin-dts/dist/index.mjs";
var __vite_injected_original_dirname = "E:\\react-project-framework-master\\hs-component";
var vite_es_config_default = defineConfig(({ mode }) => {
  return {
    plugins: [
      react(),
      dts({
        include: ["packages/components/**/*.{ts,tsx}"]
      })
    ],
    server: {
      open: true
    },
    resolve: {
      alias: {
        "@": resolve(__vite_injected_original_dirname, "packages")
      }
    },
    build: {
      lib: {
        entry: resolve(__vite_injected_original_dirname, "packages/components/index.ts"),
        formats: ["es"]
      },
      rollupOptions: {
        external: ["react", "react-dom", "react/jsx-runtime"]
      }
    }
  };
});
export {
  vite_es_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5lcy5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxyZWFjdC1wcm9qZWN0LWZyYW1ld29yay1tYXN0ZXJcXFxcaHMtY29tcG9uZW50XCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJFOlxcXFxyZWFjdC1wcm9qZWN0LWZyYW1ld29yay1tYXN0ZXJcXFxcaHMtY29tcG9uZW50XFxcXHZpdGUuZXMuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9FOi9yZWFjdC1wcm9qZWN0LWZyYW1ld29yay1tYXN0ZXIvaHMtY29tcG9uZW50L3ZpdGUuZXMuY29uZmlnLnRzXCI7aW1wb3J0IHsgZGVmaW5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